﻿<Window x:Class="Unscrambler.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:localViews="clr-namespace:Unscrambler.Views"
        xmlns:localViewModels="clr-namespace:Unscrambler.ViewModels;assembly=UnscramblerViewModels"
         ResizeMode="NoResize"
        Title="Unscrambler" WindowState="Maximized" Closing="Window_Closing"  >

    <Grid
        DataContext="{StaticResource gameViewModel}" Margin="0,10,0,2">
        <Grid.RowDefinitions>
            
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="160"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        
        <localViews:UserExitPrompt Grid.Row="0" Grid.Column="1"/>
        <localViews:RestartGamePrompt Grid.Row="0" Grid.Column="1" />
        <localViews:Gameboard Grid.Row="0" Grid.Column="1" />
        <localViews:HelpView Grid.Column="1" Grid.Row="0"/>
        <localViews:GameMenu Grid.Column="0"/>
       
    </Grid>
</Window>
